home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: nntp.coast.net!torn!nott!emr1!jagrant
- From: jagrant@emr1.emr.ca (John Grant)
- Subject: Re: Off topic post
- Message-ID: <DLv8s6.7uH@emr1.emr.ca>
- Organization: Energy, Mines, and Resources, Ottawa
- References: <TANMOY.96Jan22085051@qcd.lanl.gov> <4e66s5$dvl@ns.RezoNet.NET> <TANMOY.96Jan27121202@qcd.lanl.gov>
- Date: Sun, 28 Jan 1996 00:45:42 GMT
-
- In article <TANMOY.96Jan27121202@qcd.lanl.gov> tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya) writes:
- >In article <4e66s5$dvl@ns.RezoNet.NET> ray@ultimate-tech.com (Ray
- >Dunn) writes:
- ><snip>
- > It would be pleasant if we could save a lot of people embarassment from
- > this continuing 'C' ANSI snobbery when they post genuine questions in
- > all innocence.
- >
- > Unless posts *specifically* question the use of the "far", "near", etc.,
- > keywords of that well-known flavour of 'C', and ask legitimate ANSI 'C'
- > based questions, then those keywords can be *ignored* for the purposes
- > of this group.
- >
- > There is a *big* difference between someone posting a question based on
- > the infamous "void main(void)", or other illegal use of constructs
- > clearly defined in ANSI, and some posted code which contains extensions
- > necessary for the real world system environemnts that most of us have to
- > exist in when we're not just being language lawyers.
- >
- > This gripe is not specifically targeted at Tanmoy, whom we should thank
- > for his continuing helpful responses, but he is particularly crotchetty
- > in this area.
- >
- >I do not disagree that my responses are sometimes needlessly
- >unpleasant. What I object to is not use of keywords like `far', but
- >a lack of knowledge that the posted code is not valid C.
- >
- > If I got some error, and did not get the expected answer from
- >a compiler, the first thing I would do is try to get the same error in
- >a strictly conformant code. I believe (and have often been proven
- >correct in this respect) that compiler writers make more errors
- >explaining their extensions than in writing their compilers.
- >
- > A post with a keyword like far tells me that the user, probably,
- >does not know the difference between the language as defined, and a
- >compiler extension. You will notice that my response to a person who
- >used an incomplete array type in a struct used essentially similar
- >language.
- >
- > In short, I believe that anyone writing in a language ought to know
- >the difference between portable and non-portable constructs. Whether
- >my replies are constructive, however, I really do not know.
-
- I think you would have done a lot more for your credibility
- and respect if you had admitted that you were a bit out of
- line with your comment. As it is, I think you have just dug
- yourself in deeper.
-
- I completely agree with Ray. Purist snobbery is out of place
- here.
-
- It would have done you absolutely no harm and you would not have
- 'lost face' or compromised your principles if you had just
- ignored the 'far' keyword and answered the question. Would it
- have hurt too much?
-
- I don't believe the purpose of this group is for discussing the
- purity of the language - it is a group for discussing issues
- related to programming using the C language. More to the point,
- people come here to ask for help. If you can't provide help or
- address these issues because of your purist principles, then my
- advice would be to ignore the post and move on to until you do
- find a post which contains 100% pure ANSI C code which meets
- your standards.
- --
- John A. Grant jagrant@emr1.emr.ca
- Airborne Geophysics
- Geological Survey of Canada, Ottawa
-